package com.pms.entity;

import com.pms.util.DateUtil;

public class Mind {
	private String mindId;
	private String desc;
	private String createTime;
	private String userId;
	private String projectId;
	private User user;
	private Project project;
	public String getMindId() {
		return mindId;
	}
	public void setMindId(String mindId) {
		this.mindId = mindId;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Project getProject() {
		return project;
	}
	public void setProject(Project project) {
		this.project = project;
	}
	public String getTime(){
		String date=DateUtil.getNiceDate(createTime);
		return date;
		
	}
}
